﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Directions.aspx.cs" Inherits="Microsoft.Live.ServerControls.Web.Directions" %>
<%@ Register Namespace="Microsoft.Live.ServerControls.VE" Assembly="Microsoft.Live.ServerControls.VE" TagPrefix="cc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>    
    <div>
        <cc:Map ID="Map1" runat="server" Height="400px" Width="400px" ZoomLevel="4" 
            onservergetdirections="Map1_ServerGetDirections" Center-Altitude="0" 
            Center-AltitudeMode="Default" Center-Latitude="45" Center-Longitude="-104" Locale="fr_fr">
        </cc:Map>
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:Button ID="LatLongButton" runat="server" Text="LatLong test" 
            onclick="LatLongButton_Click" /><br />
        From:<asp:TextBox ID="From" runat="server">san francisco</asp:TextBox><br />
        Via:<asp:TextBox ID="Via" runat="server"></asp:TextBox><br />
        To:<asp:TextBox ID="To" runat="server">los angeles</asp:TextBox><br />
        <asp:Button ID="GetDirections" runat="server" Text="Directions" 
            onclick="Directions_Click" /><br />
        <asp:Label ID="steps" runat="server"></asp:Label>
        <asp:Button ID="Button2" runat="server"
            Text="PostbackPartial" />
    </ContentTemplate>
    </asp:UpdatePanel> 
    <asp:Button ID="Button1" runat="server" Text="PostbackFull" />
    </form>
    
</body>
</html>
